package com.demo.util;

import java.io.IOException;
import java.util.Properties;

public class Prop {

	public static final String DEFAULT_PORT = "8888";
	public static final String DEFAULT_HOST = "localhost";

	public static Properties getConf() {
		Properties prop = new Properties();
		try {
			prop.load(Prop.class.getClassLoader().getResourceAsStream("conf.properties"));
		} catch (IOException e) {
			e.printStackTrace();
		}
		return prop;

	}
}
